package com.jgybzx.service.impl;

import com.jgybzx.entity.Staff;
import com.jgybzx.mapper.StaffMapper;
import com.jgybzx.service.StaffService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StaffServiceImpl implements StaffService {
    @Autowired
    private StaffMapper staffMapper;

    @Override
    public void batchInsert(List<Staff> cachedDataList) {
        staffMapper.batchInsert(cachedDataList);
    }
}
